<div class="p5t p20l">
	<ul class="list_2">
    <?php foreach ($gallery as $row){?>
    	<li><a href="index.php?option=com_phocagallery&view=category&id=<?php echo $row->id;?>&Itemid=5"><?php echo $row->title;?></a></li>
        
    <?php }?>
    </ul>
</div>